﻿using System;
using System.Collections.Generic;
using System.Xml.Serialization;

namespace Services.Models.XmlSoccer {

    [XmlRoot("Match")]
    public class Match {

        public string Id { get; set; }
        public DateTime Date { get; set; }
        public string League { get; set; }
        public string Round { get; set; }
        public string Spectators { get; set; }
        public string Time { get; set; }
        public string Location { get; set; }
        public string Stadium { get; set; }

        public string HomeTeam { get; set; }
        public string Hometeam { get; set; }
        public string HomeTeam_Id { get; set; }
        public string HomeGoals { get; set; }
        public string HomeGoalDetails { get; set; }
        public string HomeLineupGoalkeeper { get; set; }
        public string HomeLineupDefense { get; set; }
        public string HomeLineupMidfield { get; set; }
        public string HomeLineupForward { get; set; }
        public string HomeSubDetails { get; set; }
        public string HomeTeamFormation { get; set; }

        public string AwayTeam { get; set; }
        public string Awayteam { get; set; }
        public string AwayTeam_Id { get; set; }
        public string AwayGoals { get; set; }
        public string AwayGoalDetails { get; set; }

        public string AwayLineupGoalkeeper { get; set; }
        public string AwayLineupDefense { get; set; }
        public string AwayLineupMidfield { get; set; }
        public string AwayLineupForward { get; set; }
        public string AwaySubDetails { get; set; }
        public string AwayTeamFormation { get; set; }

        public string BetAtHome { get; set; }
        public string BetAtDraw { get; set; }
        public string BetAtAway { get; set; }
        public string BetAtHomeLink { get; set; }

        public string WilliamHill_Home { get; set; }
        public string WilliamHill_Draw { get; set; }
        public string WilliamHill_Away { get; set; }
        public string WilliamHillLink { get; set; }

        public string InterwettenHome { get; set; }
        public string InterwettenDraw { get; set; }
        public string InterwettenAway { get; set; }
        public string InterwettenLink { get; set; }

        public string HomeTeamYellowCardDetails { get; set; }
        public string AwayTeamYellowCardDetails { get; set; }
        public string HomeTeamRedCardDetails { get; set; }
        public string AwayTeamRedCardDetails { get; set; }

    }

    [XmlRoot("XMLSOCCER.COM")]
    public class XmlSoccerMatchList : List<Match> {

    }
}